package com.sky.vo;

import com.sky.entity.OrderDetail;
import com.sky.entity.Orders;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 订单视图对象
 */
@ApiModel("订单详情视图")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderVO extends Orders implements Serializable {

    @ApiModelProperty("订单菜品概览")
    private String orderDishes;

    @ApiModelProperty("订单明细列表")
    private List<OrderDetail> orderDetailList;
}
